package com.hoshiibuy.cms.portal.vo;

import lombok.Data;

import java.util.List;

@Data
public class SpecialTreeVo {
    private String text;
    private String href;
    private State state = new State();
    private List<SpecialTreeVo> nodes;

    @Data
    public static class State {
        Boolean checked = false;
        Boolean disabled = false;
        Boolean expanded = true;
        Boolean selected = false;
		public Boolean getChecked() {
			return checked;
		}
		public void setChecked(Boolean checked) {
			this.checked = checked;
		}
		public Boolean getDisabled() {
			return disabled;
		}
		public void setDisabled(Boolean disabled) {
			this.disabled = disabled;
		}
		public Boolean getExpanded() {
			return expanded;
		}
		public void setExpanded(Boolean expanded) {
			this.expanded = expanded;
		}
		public Boolean getSelected() {
			return selected;
		}
		public void setSelected(Boolean selected) {
			this.selected = selected;
		}
        
        
    }

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public State getState() {
		return state;
	}

	public void setState(State state) {
		this.state = state;
	}

	public List<SpecialTreeVo> getNodes() {
		return nodes;
	}

	public void setNodes(List<SpecialTreeVo> nodes) {
		this.nodes = nodes;
	}
    
    
}
